/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package metadata;

import java.io.Serializable;

/**
 *
 * @author Dragan
 */
public class TableMetaData implements Serializable{

    long numberOfTuples;
    int tupleSizeInBytes;
    long numberOfDiskPages;
    String tableName;

    public TableMetaData(String tableName, long numberOfTuples, int tupleSizeInBytes, long numberOfDiskPages) {
        this.tableName = tableName;
        this.numberOfTuples = numberOfTuples;
        this.tupleSizeInBytes = tupleSizeInBytes;
        this.numberOfDiskPages = numberOfDiskPages;
    }

    public long getNumberOfDiskPages() {
        return numberOfDiskPages;
    }

    public void setNumberOfDiskPages(long numberOfDiskPages) {
        this.numberOfDiskPages = numberOfDiskPages;
    }

    public long getNumberOfTuples() {
        return numberOfTuples;
    }

    public void setNumberOfTuples(long numberOfTuples) {
        this.numberOfTuples = numberOfTuples;
    }

    public int getTupleSizeInBytes() {
        return tupleSizeInBytes;
    }

    public void setTupleSizeInBytes(int tupleSizeInBytes) {
        this.tupleSizeInBytes = tupleSizeInBytes;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }
}
